package com.yzpass.api.product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 *  Mapper 接口
 *
 * @author junfeng
 * @since 2025-01-22
 */
@Mapper
public interface ProductMapper extends BaseMapper<Product> {
    @Select("select * from product where product_id = #{id}::uuid")
    Product selectById(@Param("id")String id);
}
